package gui.panel;

import gui.listener.BackupListener;
import gui.util.ColorUtil;
import gui.util.GUIUtil;

import javax.swing.*;

public class BackupPanel extends WorkingPanel  {
    static {
        GUIUtil.useLNF();
    }
    public static BackupPanel instance = new BackupPanel();
    JButton bBackup = new JButton("备份");
    public  BackupPanel(){
        GUIUtil.setColor(ColorUtil.blueColor,bBackup);
        this.add(bBackup);
        addListener();
    }

    @Override
    public void updateData() throws Exception {

    }

    @Override
    public void addListener() {
        BackupListener listener = new BackupListener();
        bBackup.addActionListener(listener);

    }
}
